﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;

namespace Server_NhaSach.WCF_Interface
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IServiec_QLNhaSach" in both code and config file together.
    [ServiceContract]
    public interface IPhieuKHTraHang
    {
        [OperationContract]
        bool InsertPhieuKHTraHang(string makhth, string manv, string makho,string maKH, string nguoitra, string masothue, string diachi, DateTime ngaytra, string chungtutra, string ghichu, double tongthanhtien);
        [OperationContract]
        bool UpdatePhieuKHTraHang(string makhth, string manv, string makho,string maKH, string nguoitra, string masothue, string diachi, DateTime ngaytra, string chungtutra, string ghichu, double tongthanhtien);
        [OperationContract]
        bool DeletePhieuKHTraHang(string maKHTH);
        [OperationContract]
        string LayDS_PhieuKHTraHang();
    }
}
